package com.yykj.drup.server.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author zeng
 * @Date 2022/3/10
 */
@Data
@ApiModel("自定义药品查询实体")
public class ProductParam extends BasePageParam{

    @NotBlank(message = "一级分类必传")
    @ApiModelProperty(value = "一级分类标识",required = true)
    private Integer pentCategoryId;

    @ApiModelProperty(value = "二级分类标识",example = "0")
    private Integer categoryId;
}
